package com.pangu.export.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pangu.export.entity.TableColumn;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TableColumnMapper extends BaseMapper<TableColumn> {

    /**
     * 查询数据所有表的表结构
     *
     * @param dataSourceName 数据源名称
     * @param tableName      表名
     * @return List<TableColumn>
     */

    List<TableColumn> getAllTableColumn(@Param("dataSourceName") String dataSourceName,
                                        @Param("tableName") String tableName);
}